package com.dididoctor.doctor.Activity.Main.Inquiry;

import android.view.View;
import android.widget.ListView;

import com.dididoctor.doctor.MV.EduActivity;
import com.dididoctor.doctor.R;
import com.dididoctor.patient.Bean.DiaeasesLitapal;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/4/19.
 */
public class InquiryListActivity extends EduActivity {

    private ListView listView;
    private InquityListAdapter adapter;
    private List<DiaeasesLitapal> inquiryLists = new ArrayList<>();


    @Override
    public void init() {
        setText(R.id.tv_title, "问诊表管理");
        listView = (ListView) findViewById(R.id.listview);
        inquiryLists = DiaeasesLitapal.getdisarases();
        adapter = new InquityListAdapter(this, inquiryLists);
        listView.setAdapter(adapter);
    }

    @Override
    public void onClickEvent(View view) {

    }

    @Override
    public void setContentLayout() {
        setContentView(R.layout.activity_inquiry_list);
    }

}
